:root{
    --Color-Rojo:#ed1c27;
    --Color-Rojo-Oscuro:#c2161f;
    --Color-Blanco: #ffffff;
    --Color-Footer: #f4f4f4;
    --Color-Negro:#2d2d2d;
}

/* Reset */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: var(--Color-Txt);
    scroll-behavior: smooth;
    font-family: "Fira Sans Extra Condensed", sans-serif;
}


/* ----------------------- */
/* ------- LEGALES ------- */
/* ----------------------- */

.lemotive{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 8%;
    z-index: 3;
}
.legal{
    position: absolute;
    top: 100px;
    right: 20px;
    width: 15px;
    z-index: 3;
}
.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(-180deg);
    white-space: nowrap;
    font-size: 0.7rem;
    color: var(--Color-Negro);
    padding: 10px 2px; /* Espaciado interior */
    background-color: var(--Color-Blanco); /* Fondo del texto */
    border-radius: 8px; /* Borde redondeado */
    font-weight: 400;
}

a:hover{
    cursor: pointer;
}

/* -------------------------- */
/* ------- SECCION 1 ------- */
/* ------------------------- */
@keyframes moveBackground {
    0% {
        background-position: center;
    }
    50% {
        background-position: center 10%;
    }
    100% {
        background-position: center;
    }
}
.seccion1{
    background-image: url(https://img04.en25.com/EloquaImages/clients/DAVIVIENDAPANAMA/%7Ba1b3588f-cd03-4956-88b5-28e841d49cf3%7D_240628-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50px;
    animation: moveBackground 10s ease-in-out infinite;
}
.seccion1 h1{
    text-align: center;
    margin: 50px;
}
.seccion1 h1 span{
    color: var(--Color-Rojo);
    font-size: 5rem;
    font-weight: bold;
}

/* -------------------------- */
/* ------- SECCION 2 ------- */
/* ------------------------- */
.seccion2{
    background-color: var(--Color-Blanco);
}
.seccion2 p{
    text-align: center;
    margin: 50px;
    font-size: 1.5rem;
    font-weight: 400;
}
.seccion2 p b{
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--Color-Rojo);
}
.seccion2 .cuenta{
    background-color: #f9f9f9;
    border-radius: 30px;
    margin: 10px 10px 30px 10px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.108);
}
.seccion2 .cuenta h2{
    color: var(--Color-Rojo);
    font-weight: bold;
    text-align: center;
    margin: 30px 10px;
    font-size: 2.5rem;
}
.seccion2 .cuenta p{
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.9rem;
    margin: 30px 10px 20px 10px;
}
.seccion2 .cuenta ul{
    padding: 0px 50px;
    margin-top: 30px;
    margin-bottom: 40px;
}
.seccion2 .cuenta ul li{
    font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: 1.8rem;
    font-style: italic;
}
li::marker {
    color: var(--Color-Rojo);
}
.seccion2 .btn{
    display: flex;
    justify-content: center;
}
.seccion2 .btn a{
    background-color: var(--Color-Rojo);
    padding: 10px 50px;
    color: var(--Color-Blanco);
    font-size: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    &:hover{
        background-color: var(--Color-Rojo-Oscuro);
        transform: scale(1.1,1.1);
    }
}
.seccion2 .terminos p{
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 1.2rem;
}
.seccion2 .terminos p a{
    color: var(--Color-Rojo);
    text-decoration: underline;
    font-style: italic;
    &:hover{
        color: var(--Color-Rojo-Oscuro);
        text-decoration: underline;
    }
}

/* ---------------------- */
/* ------- FOOTER ------- */
/* ---------------------- */

footer{
    background-color: var(--Color-Footer);
    padding: 30px 0px;
}

footer p{
    text-align: center;
    margin-bottom: 10px;
}

/* --------------------- */
/* ------- MODAL ------- */
/* --------------------- */

.modal-header{
    display: flex;
    justify-content: center;
}
.modal-header img{
    width: 50%;
}

.modal-body h2{
    text-align: center;
    color: var(--Color-Rojo);
    margin: 10px 0px 30px 0px;
}
.modal-body h4{
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.modal-body p{
    font-size: 1.1rem;
    text-align: justify;
}
.modal-body ul{
    padding-left: 20px;
}
.modal-body ul li{
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.modal-body h3{
    text-align: center;
    color: var(--Color-Rojo);
}
.modal-footer{
    display: flex;
    justify-content: center;
}
.modal-footer .btn{
    background-color: var(--Color-Rojo);
    color: var(--Color-Blanco);
    padding: 5px 50px;
    font-size: 1.2rem;
    border-radius: 10px;
    &:hover{
        background-color: var(--Color-Rojo-Oscuro);
    }
}



@media (max-width: 768px) {
    .lemotive{
        width: 13%;
    }

    .seccion2 .cuenta h2{
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .lemotive{
        width: 18%;
    }
    .seccion1 h1{
        text-align: center;
        margin-top: 70px;
        font-size: 1.4rem;
    }
    .seccion1 h1 span{
        color: var(--Color-Rojo);
        font-size: 2.6rem;
        font-weight: bold;
    }
    .seccion2 .cuenta h2{
        font-size: 2rem;
    }
    .seccion2 p{
        text-align: center;
        margin: 30px 10px;
        font-size: 1.2rem;
    }
    .seccion2 p b{
        font-size: 1.2rem;
    }

    footer p{
        text-align: center;
        margin-bottom: 10px;
        font-size: 0.8rem;
    }
}